package com.lottery.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class LotteryInfo implements Serializable {

  private static final long serialVersionUID = 3023966576571838815L;

  private Integer id;
  private String periods; // 期数
  private BigDecimal saleTotalMoney; // 总销售额
  private int saleTotalCount; // 总销售数
  private boolean hasEnd; // 是否结束
  private Date lotteryTime; // 开奖时间
  private String lotteryResult; // 开奖结果
  private Date createTime; // 创建时间
  private Date updateTime; // 更新时间
  private int version; // 乐观锁

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getPeriods() {
    return periods;
  }

  public void setPeriods(String periods) {
    this.periods = periods;
  }

  public BigDecimal getSaleTotalMoney() {
    return saleTotalMoney;
  }

  public void setSaleTotalMoney(BigDecimal saleTotalMoney) {
    this.saleTotalMoney = saleTotalMoney;
  }

  public int getSaleTotalCount() {
    return saleTotalCount;
  }

  public void setSaleTotalCount(int saleTotalCount) {
    this.saleTotalCount = saleTotalCount;
  }

  public boolean isHasEnd() {
    return hasEnd;
  }

  public void setHasEnd(boolean hasEnd) {
    this.hasEnd = hasEnd;
  }

  public Date getLotteryTime() {
    return lotteryTime;
  }

  public void setLotteryTime(Date lotteryTime) {
    this.lotteryTime = lotteryTime;
  }

  public String getLotteryResult() {
    return lotteryResult;
  }

  public void setLotteryResult(String lotteryResult) {
    this.lotteryResult = lotteryResult;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public int getVersion() {
    return version;
  }

  public void setVersion(int version) {
    this.version = version;
  }

}
